.modal {
    position: fixed;
    background-color: rgb(0, 0, 0, 0.5);
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: 0.5s;
} 

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modalVisibl {
    display: none;
}

.ModalContent {
    width:  300px;
    height: 400px;
    padding: 50px;
    background-color: white;
    position: absolute;
    border-radius: 30px;
    top: 10%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    transition: 0.5s;
}

.ModalAccountText {
    font-size: 24px;
    margin: 0;
}


.ModalAccountInput {
    margin-top: 10px;
    width: 50px;
    font-size: 20px;
}

.ModalAccountFlexFlex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.margin-top {
    margin-top: 20px;
}

.radio_gender input {
    display: none;
}

.radio_gender {
    background-color: transparent;
}

.radio_gender label {
	display: inline-block;
	cursor: pointer;
	padding: 0px 15px;
	line-height: 34px;
	border: 1px solid #999;
	border-radius: 6px;
	user-select: none;
    width: 75px;
    text-align: center  ;
}

.radio_gender_active {
	display: inline-block;
	padding: 0px 15px;
	line-height: 34px;
	border: 1px solid #999;
	border-radius: 6px;
	user-select: none;
    width: 75px;
    text-align: center  ;
}

.ModalAccountBtn {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #999;
    margin-top: 30px;
    font-size: 20px;
    background-color: rgb(1, 216, 245);
}

.close {
    background-color: rgb(253, 80, 105);
}

.radio_gender input[type=radio]:checked + label {
	background: #ffe0a6;
}

.radio_gender label:hover {
	color: #666;
}

@media (max-width: 450px) {
    .ModalContent {
        width: 70%;
        padding: 20px;
    }

    .ModalAccountText {
        font-size: 18px;
    }

    .ModalAccountFlexFlex {
        margin-bottom: 10px;
    }

    .ModalAccountBtn {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .ModalAccountFlexFlex {
        flex-wrap: wrap;
    }

    .ModalAccountBtn {
        margin-top: 0;
    }
}


 